<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>加盟合作详情</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <meta name="viewport"
          content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <!--1.width=device-width    //应用程序的宽度和屏幕的宽度是一样的
2.height=device-height  //应用程序的高度和屏幕的高是一样的
3.initial-scale=1.0  //应用程序启动时候的缩放尺度（1.0表示不缩放）
4.minimum-scale=1.0  //用户可以缩放到的最小尺度（1.0表示不缩放）
5.maximum-scale=1.0  //用户可以放大到的最大尺度（1.0表示不缩放）
6.user-scalable=no  //用户是否可以通过他的手势来缩放整个应用程序，使应用程序的尺度发生一个改变（yes/no）
    -->
    <!-- 优先使用 IE 最新版本和 Chrome -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <!-- 启用360浏览器的极速模式(webkit) -->
    <meta name="renderer" content="webkit">
    <link rel="stylesheet" href="{{asset('front/font-awesome-4.7.0/css/font-awesome.css')}}">
    <link rel="stylesheet" href="{{asset('front/iconfont/iconfont.css')}}">
    <link rel="stylesheet" href="{{asset('front/style/weui.min.css')}}"/>
    <link rel="stylesheet" href="{{asset('front/style/style.css')}}"/>
    <link rel="stylesheet" href="{{asset('front/starrr/starrr.css')}}"/>
<script src="{{asset('front/js/jquery.min.js')}}"></script>
<script src="{{asset('front/starrr/starrr.js')}}"></script>
</head>
<body class="skin-gray" ontouchstart>
<div class="form-readonly">
    <!--盒子-->
    <div class="per-box">
        <!--盒子标题-->
        <div class="logo-box">
            <img src="{{asset('front/images/logosmall.png')}}" alt="" class="logo-title"> 报修系统
        </div>
        <!--end 盒子标题-->

        <div class="weui-cells weui-cells_form">
            <div class="weui-cells__title item-title">状态：<span class="text-normal">{{$data->status_txt}}</span></div>
        </div>
        <!--编号-->
        <div class="weui-cells weui-cells_form">
            <div class="weui-cells__title item-title">编号：<span class="text-normal">{{$data->code}}</span></div>
        </div>
        <!--end-->

        
       
        <!--end-->

       

        <!--输入框-->
  
        <!--end 输入框-->
        <form  name="form1" id="form1" method="post" action="{{url('user/task/comment-save')}}">
        <div class="weui-cells weui-cells_form">
            <div class="weui-cells__title item-title">评分：
                <div class='starrr' data-numstars='5' data-connected-input='point'></div>

            </div>
        </div>
        <!-- 问题内容-->
        <div class="weui-cells__title">评价留言</div>
        <div class="weui-cells weui-cells_form">
            <div class="weui-cell">
                <div class="weui-cell__bd">
                    <textarea class="weui-textarea" name="remark" placeholder="请输入详细情况" rows="3"></textarea>
                </div>
            </div>
        </div>
        <!--end 问题内容-->

        
        <div class="foot-btn-box">
            <button class="weui-btn weui-btn_primary btn-submit">
            提交
            </button>
        </div>
         {{csrf_field()}}

         <input type="hidden" name="task_id" value="{{$data->id}}"/>
         <input type="hidden" name="point" id="point" value="3" />
        </form>
       
        

    </div>
    <!--end 盒子-->
</div>

<script type="text/javascript">
$('.starrr').starrr({
  change: function(e, value){
    $('#point').val(value);    
  }
})


</script>
</body>
</html>